x86-64: use PC-relative exception table entries
authorKeir Fraser <keir@xen.org>
Fri, 24 Dec 2010 08:47:23 +0000 (08:47 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 24 Dec 2010 08:47:23 +0000 (08:47 +0000)
commit0c4ff0fb92533aff947945f3562221a83bbfb941
tree6c87342b77718bc05e02e23841051c8aa01d6abe
parentabf60d361232f53ad3c51fab74ff3b6f084d7f8e
x86-64: use PC-relative exception table entries

... thus allowing to make the entries half their current size. Rather
than adjusting all instances to the new layout, abstract the
construction the table entries via a macro (paralleling a similar one
in recent Linux).

Also change the name of the section (to allow easier detection of
missed cases) and merge the final resulting output sections into
.data.read_mostly.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
22 files changed:
xen/arch/x86/cpu/amd.c
xen/arch/x86/domain.c
xen/arch/x86/extable.c
xen/arch/x86/i387.c
xen/arch/x86/usercopy.c
xen/arch/x86/x86_32/asm-offsets.c
xen/arch/x86/x86_32/entry.S
xen/arch/x86/x86_64/asm-offsets.c
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S
xen/arch/x86/x86_64/mm.c
xen/arch/x86/xen.lds.S
xen/include/asm-x86/asm_defns.h
xen/include/asm-x86/config.h
xen/include/asm-x86/hvm/vmx/vmx.h
xen/include/asm-x86/msr.h
xen/include/asm-x86/uaccess.h
xen/include/asm-x86/x86_32/asm_defns.h
xen/include/asm-x86/x86_32/system.h
xen/include/asm-x86/x86_32/uaccess.h
xen/include/asm-x86/x86_64/asm_defns.h
xen/include/asm-x86/x86_64/system.h